🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / app / src / main / java / com / geeksville / mesh / repository / usb / ProbeTableProvider.kt
Displaying Raw • Download
app/src/main/java/com/geeksville/mesh/repository/usb/ProbeTableProvider.kt 78274c792318331b11ab64cd28e58e829875b8c2 (78274c79) Text, 1.58 KB
T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787com.geeksville.mesh.repository.usb
Tff7b72import T7ee787com.hoho.android.usbserial.driver.CdcAcmSerialDriver
Tff7b72import T7ee787com.hoho.android.usbserial.driver.ProbeTable
Tff7b72import T7ee787com.hoho.android.usbserial.driver.UsbSerialProber
Tff7b72import T7ee787dagger.Reusable
Tff7b72import T7ee787javax.inject.Inject
Tff7b72import T7ee787javax.inject.Provider
T8b949e/**
* Creates a probe table for the USB driver. This augments the default device-to-driver
* mappings with additional known working configurations. See this package's README for
* more info.
*/
Tf0883e@Reusable
Tff7b72class T56d364ProbeTableProvider Tf0883e@Inject Tff7b72constructorTb4b4b4(Tb4b4b4) Tb4b4b4: Te6edf3ProviderTff7b72<Te6edf3ProbeTableTff7b72> Tb4b4b4{
Tff7b72override Tff7b72fun Td2a8ffgetTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3ProbeTable Tb4b4b4{
Tff7b72return Te6edf3UsbSerialProberTb4b4b4.Te6edf3getDefaultProbeTableTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3apply Tb4b4b4{
T8b949e// RAK 4631:
Te6edf3addProductTb4b4b4(T79c0ff9T79c0ff1T79c0ff1T79c0ff4Tb4b4b4, T79c0ff3T79c0ff2T79c0ff8T79c0ff0T79c0ff9Tb4b4b4, Te6edf3CdcAcmSerialDriverTff7b72::Te6edf3classTb4b4b4.Te6edf3javaTb4b4b4)
T8b949e// LilyGo TBeam v1.1:
Te6edf3addProductTb4b4b4(T79c0ff6T79c0ff7T79c0ff9T79c0ff0Tb4b4b4, T79c0ff2T79c0ff1T79c0ff9T79c0ff7T79c0ff2Tb4b4b4, Te6edf3CdcAcmSerialDriverTff7b72::Te6edf3classTb4b4b4.Te6edf3javaTb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.11s